import request from '@/utils/request'

// 查询劳务费列表
export function listServiceFee(query) {
  return request({
    url: '/agency/serviceFee/list',
    method: 'get',
    params: query
  })
}

// 查询劳务费详细
export function getServiceFee(id) {
  return request({
    url: '/agency/serviceFee/' + id,
    method: 'get'
  })
}

// 新增劳务费
export function addServiceFee(data) {
  return request({
    url: '/agency/serviceFee',
    method: 'post',
    data: data
  })
}

// 修改劳务费
export function updateServiceFee(data) {
  return request({
    url: '/agency/serviceFee',
    method: 'put',
    data: data
  })
}

// 删除劳务费
export function delServiceFee(id) {
  return request({
    url: '/agency/serviceFee/' + id,
    method: 'delete'
  })
}
